package com.sunthy.mall.model.admin.vo.order;

import java.util.ArrayList;
import java.util.List;

/**
 *@Description:  order 的状态码states
 *@Author: XM
 */
public class OrderStatesInfo {
   private Integer id ;
   private String name;

    public OrderStatesInfo(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public OrderStatesInfo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public List<OrderStatesInfo> getOrderStatesInfoList(){
        ArrayList<OrderStatesInfo> orderStatesInfos = new ArrayList<OrderStatesInfo>();
        orderStatesInfos.add(new OrderStatesInfo(0,"未付款"));
        orderStatesInfos.add(new OrderStatesInfo(1,"未发货"));
        orderStatesInfos.add(new OrderStatesInfo(2,"已发货"));
        orderStatesInfos.add(new OrderStatesInfo(3,"已完成订单"));
        return orderStatesInfos;
    }
}
